//
//  inputCell.h
//  WeiYiMei
//
//  Created by iMac on 2019/4/13.
//  Copyright © 2019年 liyefu. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol InputCellTableViewDelegate <UITableViewDelegate>
@optional
- (void)tableView:(UITableView *)tableView updataText:(NSString *)text indexPath:(NSIndexPath *)indexPath;
- (void)tableView:(UITableView *)tableView didSelectTextViewAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface inputCell : UITableViewCell


@property (nonatomic, strong) UILabel *titleLab;

@property (nonatomic, copy) NSString *text;

@property (nonatomic, copy) NSString *placeHolderString;

@property (nonatomic, getter=isEditable) BOOL editable;

@property (nonatomic, assign) UIKeyboardType keyboardType;

@end

@interface UITableView (InputCell)

- (inputCell *)dequeueReusableInputCellWithIdentifier:(NSString *)identifier;

@end

NS_ASSUME_NONNULL_END
